﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<GeckoPhotos.Models.Image>" %>
<div class="photothumbnail">
    <a href="<%: Url.Action("View", "Image", new { id = Model.ImageID }) %>">
        <img alt="<%: Model.Caption %>" src="<%: Url.Action("GetThumbnail", "Image", new { id = Model.ImageID }) %>" />
    </a>
    <div class="photothumbnailtitle">
        <%: Html.ActionLink("Edit", "Edit", new { id = Model.ImageID })%>
        <%: Html.ActionLink("Delete", "Delete", new { id = Model.ImageID })%>
    </div>
</div>
